package com.ds.infra.rpc.registry.service;

import java.util.Map;

/**
 * 作用：RPC服务注册核心接口
 *
 * @author WeiShaoying
 */
public interface ServiceRegistry {

    void register(String serviceKey, Map<String, Object> serviceMeta) throws Exception;

    void unregister(String serviceKey) throws Exception;
}
